package cn.com.zsw.gblog.modules.gblog.entity;

import cn.com.zsw.gblog.modules.common.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * (gb_comment)实体类
 *
 * @author shiwangzhou
 * @since 2020-06-22 16:26:14
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("gb_comment")
public class GbCommentEntity  extends BaseEntity implements Serializable {
    private static final long serialVersionUID = -85481667022720440L;
    /**
     * 博客Id
     */
    private Long postId;
    /**
     * 父级评论Id
     */
    private Long parentId;
    /**
     * 评论人Id
     */
    private Long fromUserId;
    /**
     * 评论人昵称
     */
    private String fromUserName;
    /**
     * 评论人头像
     */
    private String fromUserAvatar;
    /**
     * 被评论人Id
     */
    private Long toUserId;
    /**
     * 被评论人昵称
     */
    private String toUserName;
    /**
     * 被评论人头像
     */
    private String toUserAvatar;
    /**
     * 评论
     */
    private String comment;


}